package com.xd.sign.dao;

import com.xd.sign.entity.Sign;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CommentRepository extends MongoRepository<Sign,String> {
    /*Page<Sign> findByParentid(String parentid, Pageable pageable);*/
    List<Sign> findBySign(Integer sign);
}
